//
//  card_info.h
//  MOSAD_HW2
//
//  Created by wenjy23 on 2020/11/10.
//  Copyright © 2020 wenjy23. All rights reserved.
//

#ifndef card_info_h
#define card_info_h

#import <UIKit/UIKit.h>

@interface card_info : NSObject{
    NSString *time;
    NSString *spot;
    NSString *place;
    NSString *experience;
    NSMutableArray *photos;
    NSInteger photo_num;
    NSInteger likeNum;
    NSInteger commentNum;
}

- (NSString *)getTime;
- (NSInteger)getLikeNum;
- (NSInteger)getCommentNum;
- (NSString *)getPlace;
- (NSString *)getExperience;
- (NSString *)getSpot;
- (UIImage *)getPhotoByIndex:(int)i;
- (NSInteger)getPhotoNum;
- (void)setTime:(NSString *)tmp_time;
- (void)setPlace:(NSString *)tmp_place;
- (void)setExperience:(NSString *)tmp_experience;
- (void)setSpot:(NSString *)tmp_spot;
- (void)setPhotos:(NSMutableArray *)tmp_photos;
- (void)setLikeNum:(NSInteger) tmpLikeNum;
- (void)setCommentNum:(NSInteger) tmpCommentNum;

@end


#endif /* card_info_h */
